package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/11/14
*/
@Data
@TableName(value = "web_permission")
public class WebPermission implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权限名字
     */
    @TableField(value = "name")
    private String name;

    /**
     * 权限信息
     */
    @TableField(value = "perm")
    private String perm;

    /**
     * 可访问路径
     */
    @TableField(value = "url")
    private String url;

    /**
     * 逻辑删除
     */
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_NAME = "name";

    public static final String COL_PERM = "perm";

    public static final String COL_URL = "url";

    public static final String COL_ENABLE = "enable";
}